import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'reset-css'
import "@/vantui"

import utils from './utils'
//把utils挂到Vue上
Vue.prototype.utils = utils

//全局过滤器,价格过滤器
Vue.filter('RMBFormat',(val)=>{
    return "￥" + Number(val).toFixed(2) + "元"
})

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
